<?php

namespace app\api\validate;

use think\Validate;

class Draw extends Validate
{
    protected $rule = [
        "account"      => "require",
        "mode"         => "require",
        "money"        => "require|gt:0",
        "pay_password" => "require",
    ];

    protected $message = [
        'account.require'      => '请选择兑换账户',
        'mode.require'         => '请选择兑换方式',
        'money.require'        => '请输入兑换金额',
        'money.gt'             => '兑换金额错误',
        'pay_password.require' => '请填写支付密码',
    ];

}